from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response

def render(template, payload):
    return render_to_response(template, payload)

def index(request):
    if request.method == 'GET':
        payload = dict(contents = "<h1>Search NewSMTH</h1>")
        return render('index.html', payload)